package com.xiao.sulingother.feign;

import com.xiao.sulingpublic.to.MemberTo;
import com.xiao.sulingpublic.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @author: 1322127758@qq.com
 * @date: 2022/4/3 14:40
 * @作用:
 */
@FeignClient("suling-user")
public interface UserFeign {
    /**
     * 通过用户号修改数据
     */
    @RequestMapping("/sulinguxqg/member/update/byUsername")
    R updateByUsername(@RequestBody MemberTo memberTo) throws Exception;
}
